package cn.ren.hai.base.entity;

import cn.ren.hai.core.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author: 王道
 * @Date: 2021/7/30 16:49
 * @Description:
 */
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="Module对象", description="导航 ")
public class RhTable extends BaseEntity {

    /** 显示名称 */
    @ApiModelProperty(value = "显示名称")
    @TableField("title")
    private String title ;
    /**
     * TODO 后续修改为 Mapstruct
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "表格列")
    private List<RhTableField> fields;

}
